Ext.define('passport.main.NorthPanel', {
    extend: 'Ext.panel.Panel',
    config: {
        companyName: ''
    },

    constructor: function (config) {
        this.callParent(arguments);
        this.initConfig(config);
    },

    region: 'north',
    width: 225,
    floatable: false,
    minWidth: 175,
    height: 60,
    frameHeader: false,
    collapsible: false,
    bodyBorder: false,
    bodyStyle: {
        background: '#ffcc00',
        padding: '10px'
    },
    hideCollapseTool: false,
    initComponent: function () {
        this.html = this.companyName;
        this.callParent();
    }
})